<template>
  <div class="home">
    <div class="header">
      <div class="banner">
        <img src="../../assets/images/selling/benner.jpg" alt="" />
      </div>
      <div class="Click">
        <button class="make" @click="handel">预约卖车</button>
        <button class="evaluation">先估个价</button>
      </div>
    </div>
    <div class="process">
      <div class="zhi-process">直卖流程</div>
      <!-- 四个按钮 -->
      <div class="nav">
        <div class="make-item">
          <img src="../../assets/images/selling/time.jpg" alt="" />
          预约卖车
        </div>
        <div class="arrow">
          <img src="../../assets/images/selling/right-xiao.jpg" alt="" />
        </div>
        <div class="assessment">
          <img src="../../assets/images/selling/pen.jpg" alt="" />
          免费评估
        </div>
        <div class="arrow">
          <img src="../../assets/images/selling/right-xiao.jpg" alt="" />
        </div>
        <div class="payment">
          <img src="../../assets/images/selling/envelopes.jpg" alt="" />
          当天打款
        </div>
        <div class="arrow">
          <img src="../../assets/images/selling/right-xiao.jpg" alt="" />
        </div>
        <div class="agency">
          <img src="../../assets/images/selling/notepad.jpg" alt="" />
          全程代办
        </div>
      </div>
      <div class="nav-item">一键预约最快1小时上门</div>
    </div>

    <div class="high-price">
      <div class="price">高价卖车</div>
      <div class="xian"></div>
      <div class="car">
        <div class="introduce">
          <div class="di">保定</div>
          定先生 近期成交
        </div>
        <div class="item">
          <div class="item-left">
            <img
              class="img-list"
              src="../../assets/images/selling/left-banner.jpg"
              alt=""
            />
          </div>
          <div class="item-right">
            <div class="name">丰田 极致 2016款 1.51 2缸味儿我无法违反</div>
            <div class="kilometre">2017年 | 3.80万公里</div>
            <div class="deal">
              成交价
              <div class="deal-item">6.10万</div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="payment">
      <div class="payment-item">当天付款</div>
      <div class="xian"></div>
      <div class="fast">最快当天预约</div>
      <div class="same-day">当天成交,当天付款</div>
      <div class="tu">
        <img src="../../assets/images/selling/center-benner.jpg" alt="" />
      </div>
    </div>
    <div class="transaction">
      <div class="transaction-item">交易透明</div>
      <div class="xian"></div>
      <div class="transaction-mian">买卖交易面对面</div>
      <div class="transaction-day">中间环节无干扰</div>
      <div class="transaction-img">
        <img src="../../assets/images/selling/bottom-benner.jpg" alt="" />
      </div>
    </div>
    <div class="ask">
      <div class="ask-item">卖车问答</div>
      <div class="ask-information">
        <div class="one">1</div>
        在优信卖车个人信息是否安全？
      </div>
      <div class="ask-cars">
        <div class="two">2</div>
        通过哪里可以找到优信卖车？
      </div>
      <button class="make-car">预约卖车</button>
    </div>
  </div>
</template>

<script>
// @ is an alias to /src


export default {
  name: "Home",
  data() {
    return {
      activeNames: ["1"],
    };
  },
  methods: {
    handel() {
      this.$router.push("/Details");
    },
  },
};
</script>
<style lang="less" scoped>
// 头部
.header {
  width: 750px;
  height: 1041px;
  border-bottom: #fafafa solid 20px;
  .banner {
    width: 750px;
    height: 831px;
    img {
      width: 750px;
      height: 831px;
    }
  }
  //  大按钮
  .Click {
    position: relative;
    top: -70px;

    .make {
      width: 634px;
      height: 109px;
      background-image: linear-gradient(to right, #ffa127, #ff7125);
      color: #fff;
      text-align: center;
      line-height: 109px;
      border-radius: 50px;
      border: none;
      font-weight: 600;
      font-size: 32px;

      margin-bottom: 25px;
      margin-left: 50px;
    }
    .evaluation {
      width: 634px;
      height: 109px;
      color: #ff7125;
      background: #fff;
      text-align: center;
      line-height: 109px;
      border-radius: 50px;
      border: #ff7125 solid 1px;
      font-weight: 600;
      font-size: 32px;
      margin-left: 50px;
    }
  }
}
//直卖流程
.process {
  width: 750px;
  height: 500px;
  border-bottom: #fafafa solid 20px;
  .zhi-process {
    margin-top: 40px;
    margin-bottom: 60px;
    text-align: left;
    margin-left: 43px;
    font-size: 39px;
    font-weight: 900;
  }
  // 四个按钮
  .nav {
    width: 667px;
    height: 161px;
    margin-left: 40px;
    display: flex;
    justify-content: space-between;

    .make-item {
      width: 97px;
      height: 145px;
      font-size: 22px;
      color: #fd946c;
      font-weight: 700;
      img {
        width: 92px;
        height: 90px;
        margin-bottom: 15px;
      }
    }
    .assessment {
      width: 97px;
      height: 145px;
      font-size: 22px;
      font-weight: 700;
      color: #b5b5b5;
      img {
        width: 92px;
        height: 90px;
        margin-bottom: 15px;
      }
    }
    .payment {
      width: 97px;
      height: 145px;
      font-size: 22px;
      font-weight: 700;
      color: #b5b5b5;
      img {
        width: 92px;
        height: 90px;
        margin-bottom: 15px;
      }
    }
    .agency {
      width: 97px;
      height: 145px;
      font-size: 22px;
      font-weight: 700;
      color: #b5b5b5;
      img {
        width: 92px;
        height: 90px;
        margin-bottom: 15px;
      }
    }
    .arrow {
      img {
        margin-top: 40px;
      }
    }
  }
  .nav-item {
    margin-top: 32px;
    margin-left: 44px;
    padding-left: 30px;
    width: 633px;
    height: 91px;
    color: #cbbeb7;
    background: #fbf9ed;
    font-size: 22px;
    text-align: left;
    line-height: 91px;
  }
}
.high-price {
  width: 750px;
  height: 475px;
  .price {
    margin-top: 40px;
    margin-bottom: 29px;
    text-align: left;
    margin-left: 43px;
    font-size: 39px;
    font-weight: 900;
  }
  .xian {
    margin-bottom: 41px;
    margin-left: 43px;
    width: 64px;
    height: 6px;
    background: #f75c00;
  }
  .car {
    padding-left: 42px;
    margin-left: 43px;
    padding-top: 51px;
    width: 627px;
    height: 234px;
    background: #fff;
    box-shadow: 0px 3px 10px 10px #f1f1f1;
    .item {
      display: flex;
      .item-left {
        padding-right: 22px;
      }
      .item-right {
        .name {
          font-size: 31px;
          color: #000000;
          word-break: break-all;
          text-overflow: ellipsis;
          overflow: hidden;
          display: -webkit-box;
          -webkit-line-clamp: 1;
          -webkit-box-orient: vertical;
          font-weight: 500;
        }
        .kilometre {
          font-size: 20px;
          color: #999999;
          margin-top: 17px;
        }
        .deal {
          font-size: 22px;
          color: #999999;
          margin-top: 2px;
          .deal-item {
            display: inline-block;
            font-size: 33px;
            color: #f76a17;
            font-weight: 700;
          }
        }
      }
    }
    .introduce {
      color: #ee5802;
      margin-bottom: 34px;

      .di {
        width: 51px;
        height: 25px;
        text-align: center;
        line-height: 25px;
        display: inline-block;
        border: 2px #df723e solid;
        border-radius: 2px;
      }
    }
  }
  .img-list {
    width: 187px;
    height: 126px;
  }
}

// 付款
.payment {
  width: 743px;
  height: 742px;
  .payment-item {
    margin-top: 10px;
    margin-bottom: 29px;
    text-align: left;
    margin-left: 43px;
    font-size: 39px;
    font-weight: 900;
  }
  .xian {
    margin-bottom: 41px;
    margin-left: 43px;
    width: 64px;
    height: 6px;
    background: #f75c00;
  }
  .fast {
    margin-left: 43px;
    font-size: 32px;
    color: #4a4a4a;
  }
  .same-day {
    margin-left: 43px;
    font-size: 32px;
    color: #4a4a4a;
    margin-bottom: 50px;
  }
  .tu {
    width: 750px;
    height: 353px;
    img {
      width: 750px;
      height: 353px;
    }
  }
}
// 交易
.transaction {
  width: 743px;
  height: 742px;
  border-bottom: #fafafa solid 20px;
  .transaction-item {
    margin-top: 10px;
    margin-bottom: 29px;
    text-align: left;
    margin-left: 43px;
    font-size: 39px;
    font-weight: 900;
  }
  .xian {
    margin-bottom: 41px;
    margin-left: 43px;
    width: 64px;
    height: 6px;
    background: #f75c00;
  }
  .transaction-mian {
    margin-left: 43px;
    font-size: 32px;
    color: #4a4a4a;
  }
  .transaction-day {
    margin-left: 43px;
    font-size: 32px;
    color: #4a4a4a;
    margin-bottom: 20px;
  }
  .transaction-img {
    width: 750px;
    height: 423px;
    img {
      width: 750px;
      height: 423px;
    }
  }
}
.ask {
  .ask-item {
    margin-top: 45px;
    margin-bottom: 29px;
    text-align: left;
    margin-left: 43px;
    font-size: 39px;
    font-weight: 900;
  }
  .make-car {
    width: 634px;
    height: 109px;
    background-image: linear-gradient(to right, #ffa127, #ff7125);
    color: #fff;
    text-align: center;
    line-height: 109px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 32px;
    margin-top: 42px;
    margin-bottom: 25px;
    margin-left: 50px;
  }
  .ask-information {
    height: 50px;
    line-height: 50px;
    border-bottom: 1px #f9f9f9 solid;
    font-weight: 600;
    color: #292929;
    font-size: 28px;
    margin-left: 43px;
    .one {
      color: #f7681a;
      font-weight: 600;
      margin-right: 25px;
      font-size: 28px;
      display: inline-block;
    }
  }
  .ask-cars {
    height: 50px;
    line-height: 50px;
    border-bottom: 1px #f9f9f9 solid;
    font-weight: 600;
    font-size: 28px;
    margin-left: 43px;
    color: #292929;
    .two {
      color: #f7681a;

      margin-right: 25px;
      font-weight: 600;
      font-size: 28px;
      display: inline-block;
    }
  }
}
</style>
